Skip to content

FIX: Correctly detect completed ReconAll steps #1824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 21, 2017

Conversation

effigies
Copy link
Member

Mislabeled locations caused some parts of ReconAll to be re-done unnecessarily in v6, specifically parcstats* and balabels.

Affects both FreeSurfer 5.3 and 6. I missed this before because these are fairly short recon steps, and I was mostly focused on mri/ and surf/. Some steps were un-/misdocumented, as well, so this PR adds them to match actual behavior.

If recon-all decides there's nothing to do, it returns with an exit code of 1, so in this case I've switched to an informative echo. Added a force_run instance variable for use with non-standard flags (e.g. -hippo-subfields or -clean-*).

Tested on a completely reconstructed subject in 5.3. Will test on 6.0 momentarily.

Follow-up to #1790.

@oesteban
Copy link
Contributor

CircleCI should be fixed after merging #1825, sorry about that.

@effigies
Copy link
Member Author

No worries. This one needs to be tested by hand, anyway.

@effigies effigies changed the title [WIP] BF: Detect undocumented ReconAll FIX: Detect undocumented ReconAll Feb 17, 2017
@effigies effigies changed the title FIX: Detect undocumented ReconAll FIX: Correctly detect completed ReconAll steps Feb 17, 2017
Mislabeled locations caused some parts of ReconAll to be re-done
unnecessarily
- Recon-all considers "nothing to do" an error
- Add ``force_run`` instance variable to permit user override
@effigies effigies force-pushed the bug/recon_all_continue branch from e0968cf to cc5d9c9 Compare February 17, 2017 21:52
@effigies
Copy link
Member Author

Okay. I've tested this on FSv5.3 and FSv6.0. Rebased to test on new circle config.

@chrisgorgo chrisgorgo merged commit 2896bd0 into nipy:master Feb 21, 2017
@effigies effigies deleted the bug/recon_all_continue branch February 21, 2017 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants